﻿using DevExpress.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using TestingApp.Pages;
using TestingApp.Services;

namespace TestingApp.ViewModels {
    public class SelectRolePageViewModel  : BindableBase {

        PageService _navigation;

        public SelectRolePageViewModel(PageService navigation ) {
            _navigation = navigation;
        }

        public ICommand LogingTeacher => new DelegateCommand(()=> {

            _navigation.Navigate(new TeacherLoginPage());
        
        });

        public ICommand LogingStudent => new DelegateCommand(() => {

            //_navigation.Navigate(...);

        });

    }
}
